package _03_图;

public class Main {
    public static void main(String[] args) {
        ListGraph<String,Integer> graph = new ListGraph<>();
        graph.addEdge("v1","v0",9);
        graph.addEdge("v1","v2",3);
        graph.addEdge("v2","v0",2);
        graph.addEdge("v2","v3",5);
        graph.addEdge("v3","v4",1);
        graph.addEdge("v0","v4",6);
        //graph.removeEdge("v0","v4");
        graph.removeVertex("v0");
        graph.print();
    }
}
